package com.molyfun.parents.rest.bean;

import com.molyfun.parents.rest.BaseResponse;

import java.util.List;

/**
 * Created by william(liuchao.hit@gmail.com).
 * Date:10/21/16.
 */
public class ProductCommentListResponse extends BaseResponse {

    private ProductCommentModel data;

    public ProductCommentModel getData() {
        return data;
    }

    public void setData(ProductCommentModel data) {
        this.data = data;
    }

    public static class ProductCommentModel{
        private int commenttimes;

        private List<ProductCommentBean> commentlist;

        private String subjectdegree;

        public int getCommenttimes() {
            return commenttimes;
        }

        public void setCommenttimes(int commenttimes) {
            this.commenttimes = commenttimes;
        }

        public List<ProductCommentBean> getCommentlist() {
            return commentlist;
        }

        public void setCommentlist(List<ProductCommentBean> commentlist) {
            this.commentlist = commentlist;
        }

        public String getSubjectdegree() {
            return subjectdegree;
        }

        public void setSubjectdegree(String subjectdegree) {
            this.subjectdegree = subjectdegree;
        }
    }


    public static class ProductCommentBean{

        /**
         * content : 评论内容1111111
         * degree : 3
         * createdatetime : 1517801442000
         * commentusername : 王学良
         * userimg : header/ic_20170104-173452.jpg
         * userid : 75999597ec4849fd882041c9008ea3dd
         */

        private String content;
        private String degree;
        private long createdatetime;
        private String commentusername;
        private String userimg;
        private String userid;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getDegree() {
            return degree;
        }

        public void setDegree(String degree) {
            this.degree = degree;
        }

        public long getCreatedatetime() {
            return createdatetime;
        }

        public void setCreatedatetime(long createdatetime) {
            this.createdatetime = createdatetime;
        }

        public String getCommentusername() {
            return commentusername;
        }

        public void setCommentusername(String commentusername) {
            this.commentusername = commentusername;
        }

        public String getUserimg() {
            return userimg;
        }

        public void setUserimg(String userimg) {
            this.userimg = userimg;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }
    }

}